package com.google.code.ojar.sendtemplatemail.app.dto;

import java.io.Serializable;
import java.net.URL;
/**
 * DTO class that holds an attachment properties ( it represent 1 and only 1 attachment)
 * @author ottoabreu
 *
 */
public class Attachment implements Serializable{
	
	private String path;
	private String description;
	private String name;
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public Attachment() {
		super();
		
	}

	
	public Attachment(URL urlPath, String description, String name) {
		super();
		
		this.description = description;
		this.name = name;
	}
	
	
	public Attachment(String path, String description, String name) {
		super();
		this.path = path;
		this.description = description;
		this.name = name;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
